package com.transaction.simulate;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("com.transaction.simulate.mapper")
@EnableAsync
public class SimulateApplication {

    private static Logger LOGGER = LoggerFactory.getLogger(SimulateApplication.class);

    public static void main(String[] args) {
        LOGGER.info("销售模拟系统启动。。。");
        SpringApplication.run(SimulateApplication.class, args);
    }

}
